.class public Lcom/estrongs/android/pop/app/premium/h;
.super Ljava/lang/Object;
.source "RecallDialogController.java"

# interfaces
.implements Les/vk;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/estrongs/android/pop/app/premium/h$e;
    }
.end annotation


# instance fields
.field private a:Landroid/app/Dialog;


# direct methods
.method private constructor <init>()V
    .locals 1

    .line 2
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, 0x0

    .line 3
    iput-object v0, p0, Lcom/estrongs/android/pop/app/premium/h;->a:Landroid/app/Dialog;

    return-void
.end method

.method synthetic constructor <init>(Lcom/estrongs/android/pop/app/premium/h$a;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/premium/h;-><init>()V

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/pop/app/premium/h;)Landroid/app/Dialog;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/app/premium/h;->a:Landroid/app/Dialog;

    return-object p0
.end method

.method public static a()Lcom/estrongs/android/pop/app/premium/h;
    .locals 1

    .line 3
    invoke-static {}, Lcom/estrongs/android/pop/app/premium/h$e;->a()Lcom/estrongs/android/pop/app/premium/h;

    move-result-object v0

    return-object v0
.end method

.method static synthetic a(Lcom/estrongs/android/pop/app/premium/h;Ljava/lang/String;Ljava/lang/String;)V
    .locals 0

    .line 2
    invoke-direct {p0, p1, p2}, Lcom/estrongs/android/pop/app/premium/h;->a(Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method

.method private a(Ljava/lang/String;Ljava/lang/String;)V
    .locals 2

    .line 21
    :try_start_0
    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V

    const-string v1, "action"

    .line 22
    invoke-virtual {v0, v1, p1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string p1, "from"

    .line 23
    invoke-virtual {v0, p1, p2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    .line 24
    invoke-static {}, Lcom/estrongs/android/statistics/b;->b()Lcom/estrongs/android/statistics/b;

    move-result-object p1

    const-string p2, "recall_mk"

    invoke-virtual {p1, p2, v0}, Lcom/estrongs/android/statistics/b;->c(Ljava/lang/String;Lorg/json/JSONObject;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :catch_0
    return-void
.end method


# virtual methods
.method public a(Landroid/content/Context;Ljava/lang/String;)V
    .locals 7

    .line 4
    invoke-static {}, Lcom/estrongs/android/pop/app/premium/g;->g()Lcom/estrongs/android/pop/app/premium/g;

    move-result-object v0

    if-nez v0, :cond_0

    return-void

    .line 5
    :cond_0
    invoke-virtual {v0}, Les/gl;->b()Les/ll;

    .line 6
    invoke-static {}, Lcom/estrongs/android/pop/o;->A0()Lcom/estrongs/android/pop/o;

    move-result-object v0

    const-string v1, "home"

    .line 7
    invoke-virtual {v1, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1

    invoke-virtual {v0}, Lcom/estrongs/android/pop/o;->d0()Z

    move-result v1

    if-eqz v1, :cond_1

    return-void

    .line 8
    :cond_1
    invoke-virtual {v0}, Lcom/estrongs/android/pop/o;->c0()Z

    move-result v1

    if-nez v1, :cond_2

    return-void

    .line 9
    :cond_2
    invoke-virtual {v0}, Lcom/estrongs/android/pop/o;->f0()Z

    move-result v1

    if-nez v1, :cond_3

    return-void

    .line 10
    :cond_3
    invoke-static {}, Les/b00;->q()Les/b00;

    move-result-object v1

    invoke-virtual {v1}, Les/b00;->g()Z

    move-result v1

    if-nez v1, :cond_4

    return-void

    .line 11
    :cond_4
    invoke-virtual {v0}, Lcom/estrongs/android/pop/o;->N()I

    move-result v1

    .line 12
    invoke-virtual {v0}, Lcom/estrongs/android/pop/o;->Q()I

    move-result v2

    if-lt v1, v2, :cond_5

    return-void

    .line 13
    :cond_5
    invoke-virtual {v0}, Lcom/estrongs/android/pop/o;->M()I

    move-result v1

    .line 14
    invoke-virtual {v0}, Lcom/estrongs/android/pop/o;->R()I

    move-result v2

    if-lt v1, v2, :cond_6

    return-void

    .line 15
    :cond_6
    invoke-virtual {v0}, Lcom/estrongs/android/pop/o;->P()J

    move-result-wide v1

    .line 16
    invoke-virtual {v0}, Lcom/estrongs/android/pop/o;->O()I

    move-result v0

    int-to-long v3, v0

    const-wide/32 v5, 0x36ee80

    mul-long v3, v3, v5

    .line 17
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v5

    add-long/2addr v1, v3

    cmp-long v0, v5, v1

    if-gtz v0, :cond_7

    return-void

    .line 18
    :cond_7
    invoke-virtual {p0, p1, p2}, Lcom/estrongs/android/pop/app/premium/h;->b(Landroid/content/Context;Ljava/lang/String;)V

    return-void
.end method

.method public a(Z)V
    .locals 0

    if-eqz p1, :cond_0

    .line 19
    iget-object p1, p0, Lcom/estrongs/android/pop/app/premium/h;->a:Landroid/app/Dialog;

    if-eqz p1, :cond_0

    .line 20
    invoke-virtual {p1}, Landroid/app/Dialog;->dismiss()V

    :cond_0
    return-void
.end method

.method public b(Landroid/content/Context;Ljava/lang/String;)V
    .locals 3

    if-nez p1, :cond_0

    return-void

    .line 1
    :cond_0
    new-instance v0, Landroid/app/Dialog;

    const v1, 0x7f1202a5

    invoke-direct {v0, p1, v1}, Landroid/app/Dialog;-><init>(Landroid/content/Context;I)V

    iput-object v0, p0, Lcom/estrongs/android/pop/app/premium/h;->a:Landroid/app/Dialog;

    .line 2
    invoke-static {p1}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v1, 0x7f0c00ef

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    const v1, 0x7f0909a2

    .line 3
    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    new-instance v2, Lcom/estrongs/android/pop/app/premium/h$a;

    invoke-direct {v2, p0, p1, p2}, Lcom/estrongs/android/pop/app/premium/h$a;-><init>(Lcom/estrongs/android/pop/app/premium/h;Landroid/content/Context;Ljava/lang/String;)V

    invoke-virtual {v1, v2}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const p1, 0x7f090233

    .line 4
    invoke-virtual {v0, p1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p1

    new-instance v1, Lcom/estrongs/android/pop/app/premium/h$b;

    invoke-direct {v1, p0}, Lcom/estrongs/android/pop/app/premium/h$b;-><init>(Lcom/estrongs/android/pop/app/premium/h;)V

    invoke-virtual {p1, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const p1, 0x7f090200

    .line 5
    invoke-virtual {v0, p1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/CheckBox;

    .line 6
    iget-object v1, p0, Lcom/estrongs/android/pop/app/premium/h;->a:Landroid/app/Dialog;

    new-instance v2, Lcom/estrongs/android/pop/app/premium/h$c;

    invoke-direct {v2, p0, p1}, Lcom/estrongs/android/pop/app/premium/h$c;-><init>(Lcom/estrongs/android/pop/app/premium/h;Landroid/widget/CheckBox;)V

    invoke-virtual {v1, v2}, Landroid/app/Dialog;->setOnDismissListener(Landroid/content/DialogInterface$OnDismissListener;)V

    .line 7
    iget-object p1, p0, Lcom/estrongs/android/pop/app/premium/h;->a:Landroid/app/Dialog;

    new-instance v1, Lcom/estrongs/android/pop/app/premium/h$d;

    invoke-direct {v1, p0}, Lcom/estrongs/android/pop/app/premium/h$d;-><init>(Lcom/estrongs/android/pop/app/premium/h;)V

    invoke-virtual {p1, v1}, Landroid/app/Dialog;->setOnShowListener(Landroid/content/DialogInterface$OnShowListener;)V

    .line 8
    iget-object p1, p0, Lcom/estrongs/android/pop/app/premium/h;->a:Landroid/app/Dialog;

    invoke-virtual {p1, v0}, Landroid/app/Dialog;->setContentView(Landroid/view/View;)V

    .line 9
    iget-object p1, p0, Lcom/estrongs/android/pop/app/premium/h;->a:Landroid/app/Dialog;

    const/4 v0, 0x0

    invoke-virtual {p1, v0}, Landroid/app/Dialog;->setCancelable(Z)V

    .line 10
    iget-object p1, p0, Lcom/estrongs/android/pop/app/premium/h;->a:Landroid/app/Dialog;

    invoke-virtual {p1, v0}, Landroid/app/Dialog;->setCanceledOnTouchOutside(Z)V

    .line 11
    iget-object p1, p0, Lcom/estrongs/android/pop/app/premium/h;->a:Landroid/app/Dialog;

    invoke-virtual {p1}, Landroid/app/Dialog;->show()V

    .line 12
    invoke-static {}, Lcom/estrongs/android/pop/o;->A0()Lcom/estrongs/android/pop/o;

    move-result-object p1

    .line 13
    invoke-virtual {p1}, Lcom/estrongs/android/pop/o;->Y()V

    .line 14
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    invoke-virtual {p1, v0, v1}, Lcom/estrongs/android/pop/o;->o(J)V

    const-string v0, "show"

    .line 15
    invoke-direct {p0, v0, p2}, Lcom/estrongs/android/pop/app/premium/h;->a(Ljava/lang/String;Ljava/lang/String;)V

    const-string v0, "home"

    .line 16
    invoke-virtual {v0, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p2

    if-eqz p2, :cond_1

    .line 17
    invoke-virtual {p1}, Lcom/estrongs/android/pop/o;->w0()V

    :cond_1
    return-void
.end method

.method public synthetic e(Z)V
    .locals 0

    invoke-static {p0, p1}, Les/uk;->a(Les/vk;Z)V

    return-void
.end method

.method public synthetic h()V
    .locals 0

    invoke-static {p0}, Les/uk;->b(Les/vk;)V

    return-void
.end method

.method public synthetic onFinish()V
    .locals 0

    invoke-static {p0}, Les/uk;->a(Les/vk;)V

    return-void
.end method
